package com.itheima.wms.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.itheima.wms.entity.StockEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 库存
 *
 * @author diesel
 */
@Data
@ApiModel(value = "StockDetailVO", description = "库存明细")
public class StockDetailVO extends StockEntity {

    @ApiModelProperty("仓库名称")
    @TableField(value = "warehouse_name")
    private String warehouseName;
    @ApiModelProperty("库区名称")
    @TableField(value = "area_name")
    private String areaName;
    @ApiModelProperty("库位名称")
    @TableField(value = "location_name")
    private String locationName;
    @ApiModelProperty("库位编码")
    @TableField(value = "location_code")
    private String locationCode;
    @ApiModelProperty("货品名称")
    @TableField(value = "goods_name")
    private String goodsName;
    @ApiModelProperty("货品编码")
    @TableField(value = "goods_code")
    private String goodsCode;
    @ApiModelProperty("货品条码")
    @TableField(value = "goods_bar_code")
    private String goodsBarCode;
    @ApiModelProperty("货品单位")
    @TableField(value = "goods_unit")
    private String goodsUnit;
    @ApiModelProperty("货品类型名称")
    @TableField(value = "goods_type_name")
    private String goodsTypeName;
    @ApiModelProperty("货主名称")
    @TableField(value = "owner_name")
    private String ownerName;
    @ApiModelProperty("货主编码")
    @TableField(value = "owner_code")
    private String ownerCode;

}
